From: Kim F. Storm Date: Wed, 21 Jul 2004 21:08:56 +0000 (+0000) Subject: (struct glyph_matrix): New members nrows_scale_factor X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21578 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d2f8160ec33f008267db960c790fc2e4d6fcd844;p=emacs.git (struct glyph_matrix): New members nrows_scale_factor and ncols_scale_factor. --- diff --git a/src/window.h b/src/window.h index 1e53ae659cb..d8f98444ae9 100644 --- a/src/window.h +++ b/src/window.h @@ -236,6 +236,11 @@ struct window struct glyph_matrix *current_matrix; struct glyph_matrix *desired_matrix; + /* Scaling factor for the glyph_matrix size calculation in this window. + Used if window contains many small images or uses proportional fonts, + as the normal may yield a matrix which is too small. */ + int nrows_scale_factor, ncols_scale_factor; + /* Cursor position as of last update that completed without pause. This is the position of last_point. */ struct cursor_pos last_cursor;